package homework07;

public class Number {
	private static int j;
	private Object lock = new Object();
	public static int getJ() {
		return j;
	}

	public Object getLock() {
		return lock;
	}

	public void setLock(Object lock) {
		this.lock = lock;
	}

	public static void setJ(int j) {
		Number.j = j;
	}
	public Number() {
		j=10;
	}
}
